
#ifndef CONF_H_
#define CONF_H_


#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <ctype.h>
#include <stdio.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>

struct Parametros{
	struct in_addr Addr;
	int port;
	uint8_t max_conexiones;
	uint64_t tamanio_cache;
	char log;
};

int leerConfig(const char *arch, struct Parametros *parametros);
int cargarParametros(struct Parametros *, char *, char *);


#endif /* CONF_H_ */


